package com.bsb.base.model;
/**
 * @author :liuxb@jieshuibao.com
 * @version ：2018年5月5日 下午1:27:57
 * 类说明
 */
public class PageRes <T>{
	public final static String SUCCESS_CODE = "1";     //成功
	public final static String FAIL_CODE = "0";        //失败
	public final static String RELOGIN_CODE = "2";     //未登录
	public final static String ERRORPARAM_CODE = "3";     //参数不正确
	
	public final static String SUCCESS_DES = "请求成功";     //成功
	public final static String FAIL_DES = "网络抖动！";        //失败
	public final static String RELOGIN_DES = "重新登录";     //未登录
	public final static String ERRORPARAM_DES = "请求参数错误";     //参数不正确
	
	private T data;
	
	private int totalCount;
	
	private int pageNum;
	
	private int pageSize;
	
	private int maxPageNum;
	
	private String status;
	
	private String msg;
	
	
	

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getMaxPageNum() {
		return maxPageNum;
	}

	public void setMaxPageNum(int maxPageNum) {
		this.maxPageNum = maxPageNum;
	}
	
	

}
